#include <stdio.h>

void fibonacci(unsigned int n) {
    if (n == 0) {
        return;
    }
    
    unsigned long long a = 0;
    unsigned long long b = 1;
    
    // 单独处理第一项
    printf("%llu", a);
    if (n == 1) {
        printf("\n");
        return;
    }
    
    // 输出第二项
    printf(", %llu", b);
    
    // 从第三项开始计算
    for (unsigned int i = 2; i < n; i++) {
        unsigned long long next = a + b;
        a = b;
        b = next;
        printf(", %llu", b);
    }
    
    printf("\n");
}